package com.foreverwin.mes.meapi.mapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.foreverwin.mes.meapi.model.Item;
import com.foreverwin.mes.meapi.model.Operation;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Syngna
 * @since 2020-01-14
 */
@Repository
public interface OperationMapper extends BaseMapper<Operation> {

    List<Operation> listByResource(@Param("resourceBo") String resourceBo);

    List<Operation> selectList(@Param("locale") String locale, @Param("ew") Wrapper<Operation> wrapper);
}